From: Sebastian Keller Date: Thu, 25 Feb 2021 22:56:11 +0000 (+0100) Subject: st/texture-cache: Change bind_cairo_surface_property to transfer full X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~162 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=99dd5ece5529fc48fbe09861a1d36c3fc9b73d89;p=gnome-shell.git st/texture-cache: Change bind_cairo_surface_property to transfer full This is how the code works and how it is already used from the C side. There would also be no point in keeping this transfer none, because textures generated from this function will not be shared and are not kept in the cache. Part-of: --- diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c index 15c33f029..4e878a722 100644 --- a/src/st/st-texture-cache.c +++ b/src/st/st-texture-cache.c @@ -822,7 +822,7 @@ st_texture_cache_free_bind (gpointer data) * If the source object is destroyed, the texture will continue to show the last * value of the property. * - * Returns: (transfer none): A new #GIcon + * Returns: (transfer full): A new #GIcon */ GIcon * st_texture_cache_bind_cairo_surface_property (StTextureCache *cache,